home *** CD-ROM | disk | FTP | other *** search
/ Monster Media 1994 #2 / Monster Media No. 2 (Monster Media)(1994).ISO / utils1 / 22nce142.zip / IOMAP.DOC < prev    next >
Text File  |  1994-07-06  |  2KB  |  56 lines

  1.               USING I/O MAP OVERLAY FILES IN 22DISK
  2.  
  3.                          September, 1993
  4.  
  5.                            Sydex, Inc.
  6.                           P.O Box 5700
  7.                         Eugene, OR  97405
  8.  
  9. This  document describes using the IOMAP facility in 22DISK.   If 
  10. you are interested in using this facility, you should be familiar 
  11. with 8086 assembly code and have the necessary programming  tools 
  12. to develop a simple DOS .COM-type program.
  13.  
  14. The  I/O mapping facility allows the programmer to  simulate  the 
  15. activity  of devices seen by the emulated 8-bit  processor.   For 
  16. example, if a CP/M program accesses a serial port, it is possible 
  17. to  write  an  I/O mapping overlay to  simulate  the  8-bit  port 
  18. activity of the serial port.  I/O mapping is supported only  with 
  19. the  software-emulated  processor  modes, not with  the  NEC  V20 
  20. processor hardware emulation.
  21.  
  22. An IOMAP overlay is nothing more than a simple DOS .COM-type file 
  23. with  a  special header and a file name extension  of  .IOM.   To 
  24. incorporate the overlay into the pre-loader generated by  GENCOM, 
  25. the IOMAP= keyword is used with the name of the overlay file.
  26.  
  27. The skeleton of an IOMAP overlay is given in the file IOSKEL.ASM.  
  28. Note that the overlay must be coded as a self-relocating program.
  29. The  DS register points to the TPA of the emulated program.   Any 
  30. memory needed by the IOMAP overlay must be explicitly reserved by 
  31. declaring it as initialized data.
  32.  
  33. The  IOMAP overlay is assumed to have an offset of 0 in the  code 
  34. segment.
  35.  
  36. For more information on using this facility, please contact Sydex.
  37.  
  38.  
  39.  
  40.  
  41.  
  42.  
  43.  
  44.  
  45.  
  46.  
  47.  
  48.  
  49.  
  50.  
  51.  
  52.  
  53.  
  54.  
  55.  
  56.